package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 权限管理_用户角色关联表
 * </p>
 *
 * @author azhao6
 * @since 2018-09-05
 */
public class PrvgUsrRole implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 序号
   */
  @TableId(type = IdType.UUID)
  private String id;
  /**
   * 用户id
   */
  private String usrid;
  /**
   * 用户名称
   */
  private String usrnm;
  /**
   * 角色id
   */
  private String rlid;
  /**
   * 角色名称
   */
  private String rlnm;
  /**
   * 项目id
   */
  private String projectid;
  /**
   * 项目名称
   */
  private String projectname;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getUsrid() {
    return usrid;
  }

  public void setUsrid(String usrid) {
    this.usrid = usrid;
  }

  public String getUsrnm() {
    return usrnm;
  }

  public void setUsrnm(String usrnm) {
    this.usrnm = usrnm;
  }

  public String getRlid() {
    return rlid;
  }

  public void setRlid(String rlid) {
    this.rlid = rlid;
  }

  public String getRlnm() {
    return rlnm;
  }

  public void setRlnm(String rlnm) {
    this.rlnm = rlnm;
  }

  public String getProjectid() {
    return projectid;
  }

  public void setProjectid(String projectid) {
    this.projectid = projectid;
  }

  public String getProjectname() {
    return projectname;
  }

  public void setProjectname(String projectname) {
    this.projectname = projectname;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
